package com.mes.integration.hbydMPM.domain;

import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("routing")
public class MpmRouting {

	@XStreamAsAttribute
	private String outUniqueId;
	@XStreamAsAttribute
	private String name;
	@XStreamAsAttribute
	private String versionId;
	@XStreamAsAttribute
	private String routingId;
	@XStreamAsAttribute
	private String batchNum;
	@XStreamAsAttribute
	private String optype;
	@XStreamAsAttribute
	private String masterShopId;
	@XStreamAsAttribute
	private String outItemUid;
	@XStreamAsAttribute
	private Boolean isDelete;
	
	private List<MpmOperation> operations;
	
	@XStreamAlias("dept")
	private MpmUnit mpmUnit;

	public String getOutUniqueId() {
		return outUniqueId;
	}

	public void setOutUniqueId(String outUniqueId) {
		this.outUniqueId = outUniqueId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getVersionId() {
		return versionId;
	}

	public void setVersionId(String versionId) {
		this.versionId = versionId;
	}

	public String getOptype() {
		return optype;
	}

	public void setOptype(String optype) {
		this.optype = optype;
	}

	public String getMasterShopId() {
		return masterShopId;
	}

	public void setMasterShopId(String masterShopId) {
		this.masterShopId = masterShopId;
	}

	public String getOutItemUid() {
		return outItemUid;
	}

	public void setOutItemUid(String outItemUid) {
		this.outItemUid = outItemUid;
	}

	public Boolean getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Boolean isDelete) {
		this.isDelete = isDelete;
	}

	public List<MpmOperation> getOperations() {
		return operations;
	}

	public void setOperations(List<MpmOperation> operations) {
		this.operations = operations;
	}

	public MpmUnit getMpmUnit() {
		return mpmUnit;
	}

	public void setMpmUnit(MpmUnit mpmUnit) {
		this.mpmUnit = mpmUnit;
	}

	public String getRoutingId() {
		return routingId;
	}

	public void setRoutingId(String routingId) {
		this.routingId = routingId;
	}

	public String getBatchNum() {
		return batchNum;
	}

	public void setBatchNum(String batchNum) {
		this.batchNum = batchNum;
	}
	
}
